package LJ;

import oi.IOpreation;

import java.util.Scanner;

public class Main {
    public static gontong sd() {
        System.out.println("请输入你的名字");
        Scanner sd = new Scanner(System.in);
        sd.next();
        System.out.println("1.管理员");
        System.out.println("2.用户");
        System.out.println("0.退出");
        Scanner s = new Scanner(System.in);
        int a = s.nextInt();
        if (a == 1) return new gl();
        else if (a == 2) return new yh();
        else System.out.println("退出");
        return null;
    }
    public static void main(String[] args) {
        BookList bookList=new BookList();
        gontong s=sd();
        int z=s.menu();
        s.work(z,bookList);
    }
}
